package com.yidu.hbatsams.service.TrainingPlan.zxr;


import com.yidu.hbatsams.domain.AtsPlanWeek;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author 朱星润
 * @类的描述——
 * @versing 1.0 2019/10/30
 */
public interface AtsWeekService {
    /**
     * 周计划
     *
     * @return
     */
    List<AtsPlanWeek> selectAll(HttpServletRequest request, AtsPlanWeek atsWeek, Integer pageNum, Integer pageSize);

    /**
     * 统计图多选框
     * @param request
     * @param atsWeek
     * @return
     */
    List<AtsPlanWeek> comboBox(HttpServletRequest request, AtsPlanWeek atsWeek);
    /**
     * 分页
     *
     * @return
     */
    int count(HttpServletRequest request, AtsPlanWeek atsWeek);


    //id查询
    AtsPlanWeek findById(Integer weekId);

    /**
     * id查询运动员周计划关联表
     * @param weekId
     * @return
     */
    List<AtsPlanWeek> weekOrAthleteById(Integer weekId);

    /**
     * 删除
     * @param weekId
     * @return
     */
    int isvaDel(Integer weekId);

}
